package game;

public abstract class GameUtil {
    private static int nextPlayerId = 0;
    private static int nextCharacterId = 0;
    private static int nextActionId = 0;

    public static int getNextPlayerId() {
        int toReturn = nextPlayerId;
        nextPlayerId++;
        return toReturn;
    }
    
    public static int getNextCharacterId() {
        int toReturn = nextCharacterId;
        nextCharacterId++;
        return toReturn;
    }

    public static int getNextActionId() {
        int toReturn = nextActionId;
        nextActionId++;
        return toReturn;
    }
}
